﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GFMS.MODEL
{
    [Serializable]
    public class M_FIM_MAS_ExpenseRates
    {
        private int EXP_RATE_SEQ;
        private string EXP_RATE_NAME;
        private string EXP_RATE_DESCR;
        private Nullable<int> BGM_EXP_SEQ;
        private Nullable<int> BGM_SOURCE_SEQ;
        private Nullable<double> AMOUNT_MIN;
        private Nullable<double> AMOUNT_MAX;

        private string RELATE_DAY;
        private string RELATE_MAN;
        private string RELATE_HOUR;
        private string RELATE_MINUTE;

        private string RECORD_STATUS;
        private Nullable<int> CREATED_BY;
        private Nullable<DateTime> CREATED_WHEN;
        private Nullable<int> UPDATED_BY;
        private Nullable<DateTime> UPDATED_WHEN;

        public M_FIM_MAS_ExpenseRates()
        {

        }

        public M_FIM_MAS_ExpenseRates(
            int EXP_RATE_SEQ
            , string EXP_RATE_NAME
            , string EXP_RATE_DESCR
            , Nullable<int> BGM_EXP_SEQ
            , Nullable<int> BGM_SOURCE_SEQ
            , Nullable<double> AMOUNT_MIN
            , Nullable<double> AMOUNT_MAX

            , string RELATE_DAY
            , string RELATE_MAN
            , string RELATE_HOUR
            , string RELATE_MINUTE

            , string RECORD_STATUS
            , Nullable<int> CREATED_BY
            , Nullable<DateTime> CREATED_WHEN
            , Nullable<int> UPDATED_BY
            , Nullable<DateTime> UPDATED_WHEN)
        {
            this.EXP_RATE_SEQ = EXP_RATE_SEQ;
            this.EXP_RATE_NAME = EXP_RATE_NAME;
            this.EXP_RATE_DESCR = EXP_RATE_DESCR;
            this.BGM_EXP_SEQ = BGM_EXP_SEQ;
            this.BGM_SOURCE_SEQ = BGM_SOURCE_SEQ;
            this.AMOUNT_MIN = AMOUNT_MIN;
            this.AMOUNT_MAX = AMOUNT_MAX;

            this.RELATE_DAY = RELATE_DAY;
            this.RELATE_MAN = RELATE_MAN;
            this.RELATE_HOUR = RELATE_HOUR;
            this.RELATE_MINUTE = RELATE_MINUTE;

            this.RECORD_STATUS = RECORD_STATUS;
            this.CREATED_BY = CREATED_BY;
            this.CREATED_WHEN = CREATED_WHEN;
            this.UPDATED_BY = UPDATED_BY;
            this.UPDATED_WHEN = UPDATED_WHEN;
        }

        public int exp_rate_seq
        {
            set { EXP_RATE_SEQ = value; }
            get { return EXP_RATE_SEQ; }
        }

        public string exp_rate_name
        {
            set { EXP_RATE_NAME = value; }
            get { return EXP_RATE_NAME; }
        }

        public string exp_rate_descr
        {
            set { EXP_RATE_DESCR = value; }
            get { return EXP_RATE_DESCR; }
        }

        public Nullable<int> bgm_exp_seq
        {
            set { BGM_EXP_SEQ = value; }
            get { return BGM_EXP_SEQ; }
        }

        public Nullable<int> bgm_source_seq
        {
            set { BGM_SOURCE_SEQ = value; }
            get { return BGM_SOURCE_SEQ; }
        }

        public Nullable<double> amount_min
        {
            set { AMOUNT_MIN = value; }
            get { return AMOUNT_MIN; }
        }

        public Nullable<double> amount_max
        {
            set { AMOUNT_MAX = value; }
            get { return AMOUNT_MAX; }
        }

        public string relate_day
        {
            set { RELATE_DAY = value; }
            get { return RELATE_DAY; }
        }

        public string relate_man
        {
            set { RELATE_MAN = value; }
            get { return RELATE_MAN; }
        }

        public string relate_hour
        {
            set { RELATE_HOUR = value; }
            get { return RELATE_HOUR; }
        }

        public string relate_minute
        {
            set { RELATE_MINUTE = value; }
            get { return RELATE_MINUTE; }
        }

        //====================================================================

        public string record_status
        {
            set { RECORD_STATUS = value; }
            get { return RECORD_STATUS; }
        }

        public Nullable<int> created_by
        {
            set { CREATED_BY = value; }
            get { return CREATED_BY; }
        }

        public Nullable<DateTime> created_when
        {
            set { CREATED_WHEN = value; }
            get { return CREATED_WHEN; }
        }

        public Nullable<int> updated_by
        {
            set { UPDATED_BY = value; }
            get { return UPDATED_BY; }
        }

        public Nullable<DateTime> updated_when
        {
            set { UPDATED_WHEN = value; }
            get { return UPDATED_WHEN; }
        }
    }
}
